;(function () {
  new Vue({
    el:'.lc-data-edit',
    data:{
      isShowAllChange: false,
      isAddActivityList: false,
      isAddIndustryList: false,
      isAddsmallTypeList: false,
      isAddbigTypeList: false,
      pageLimitData: [{name: '10', code: '10'}, {name: '15', code: '15'}, {name: '20', code: '20'}],
      starProject:{
        listData:[],
        editData: [ {'companyName':null} , {'teamMemberCount':null} , {'financingAmount':null} ],
      },
      placeMes:{
        listData:[],
        editData: [ {'projectName':null} , {'acreage':null} ],
        pageLimit:1000,
        currentPage:1,
        totalCount:0,
        teamMemberCount:0,
        financingAmount:0,
        publicService:[]
      },
      investmentFinancing:{
        investmentFinancingAim1:0,
        investmentFinancingAim2:0,
        investmentFinancingAim3:0,
        investmentFinancingAim4:0,
      },
      activityCenter:{
        count1:0,
        count2:0,
        count3:0,
      },
      activity:{
        selectedItem:['CONFIG'],
        listData:[],
        editData:[{'title':null}],
        pageLimit:1000,
        currentPage:1,
        totalCount:0,
      },
      company:{
        industryListData:[],
        industryEditData: [ {'industry':null} , {'count':null} , {'percent':null} ],
        smallTypeListData:[],
        smallTypeEditData: [ {'teamType':null} , {'teamCount':null} , {'teamPercent':null} ],
        bigTypeListData:[],
        bigTypeEditData: [ {'teamType':null} , {'teamCount':null} , {'teamPercent':null} ],
      },
      companyDetails:{
        dvptAchievementsAmount1:0,
        dvptAchievementsAmount2:0,
        dvptAchievementsAmount3:0
      }
    },
    filters:{
      formatDate:function (item) {
        return hlDateUtil.formatUTCDate(item)
      },
      formatUndefined:function (item) {
        if(item == undefined)return '--'
        return item
      }
    },
    methods:{
      // 获取场地信息
      getPlaceDict(){
        let self = this
        hlhttp.get({
          url: 'configure/dict',
          data: {module_code: 'ZUKN', config_name: 'ZK_SPACE_CONFIG_TYPE', parent_dict_code: '#' , key: '#'},
          success(res){
            let tmpArr = [],tmpRes = []
            self.placeMes.publicService.forEach(el => {
              tmpArr.push(el.code)
            })

            res.forEach(el => {

              if(el.status == 'Y'){
                if( tmpArr.indexOf(el.dictCode) > -1 ){
                  el['isSelected'] = 'Y'
                }else{
                  el['isSelected'] = 'N'
                }

                el['val'] = el['dictName']
                tmpRes.push(el)
              }
            })

            self.placeMes.publicService = tmpRes

            console.log(tmpRes);
          }
        })
      },
      // 优质明星项目展示列表
      getStarProjectListData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
        }

        hlhttp.get({
          url:'datav_source/project_show/_search',
          data: data,
          success(data){
            if(data.length == 0) return
            data.forEach(el => el['isEdit'] = 'N')
            self.starProject.listData = JSON.parse(JSON.stringify(data))
            self.starProject.editData = JSON.parse(JSON.stringify(data))
          }
        })
      },
      // 获取场地信息列表数据
      getPlaceMesListData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
          page: 1,
          limit: 1000,
        }

        hlhttp.get({
          url:'datav_source/space_area_analysis/_search',
          data: data,
          success(data){
            if(data.data.length == 0) return
            data.data.forEach(el => el['isEdit'] = 'N')
            self.placeMes.listData = JSON.parse(JSON.stringify(data.data))
            self.placeMes.editData = JSON.parse(JSON.stringify(data.data))
            self.placeMes.totalCount = data.totalCount
          }
        })
      },
      // 获取场地信息详情数据
      getPlaceMesDetailsData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
        }

        hlhttp.get({
          url:'datav_source/space_count',
          data: data,
          success(data){
            self.placeMes.count = data.count
            self.placeMes.totalAcreage = data.totalAcreage
            self.placeMes.publicService = data.publicService ? data.publicService : []

            self.getPlaceDict()
          }
        })
      },
      // 获取场地信息详情数据
      getInvestmentDetailsData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
        }

        hlhttp.get({
          url:'datav_source/investment_financing_docking',
          data: data,
          success(data){
            console.log(data);

            self.investmentFinancing.investmentFinancingAim1 = data.investmentFinancingActual1
            self.investmentFinancing.investmentFinancingAim2 = data.investmentFinancingActual2
            self.investmentFinancing.investmentFinancingAim3 = data.investmentFinancingActual3
            self.investmentFinancing.investmentFinancingAim4 = data.investmentFinancingActual4
          }
        })
      },
      // 获取活动中心详情
      getActivityCenterData(){
        let self = this;
        let data = {}

        hlhttp.get({
          url:'datav_source/activity_count',
          data: data,
          success(data){
            self.activityCenter.count1 = data.activityCenterCount1
            self.activityCenter.count2 = data.activityCenterCount2
            self.activityCenter.count3 = data.activityCenterCount3
          }
        })
      },
      // 获取活动中心详情（活动列表）
      getActivityListData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
          page: self.activity.currentPage,
          limit: 1000,
        }

        hlhttp.get({
          url:'datav_source/activity_info/_search',
          data: data,
          success(data){
            if(data.data.length == 0) return
            data.data.forEach(el => {
              el['isEdit'] = 'N'
              el['isAdd'] = 'N'
            })
            self.activity.listData = JSON.parse(JSON.stringify(data.data))
            self.activity.editData = JSON.parse(JSON.stringify(data.data))
            self.activity.totalCount = data.totalCount
          }
        })
      },
      // 获取企业发展成果列表
      getCompanyListData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
          page: 1,
          limit: 1000,
        }

        hlhttp.get({
          url:'datav_source/company_industry_analysis/_search',
          data: data,
          success(data){
            if(data.data.length == 0) return
            data.data.forEach(el => {
              el['isEdit'] = 'N'
              el['isAdd'] = 'N'
            })
            self.company.industryListData = JSON.parse(JSON.stringify(data.data))
            self.company.industryEditData = JSON.parse(JSON.stringify(data.data))
          }
        })
      },
      // 获取团队类别分析列表
      getSmallTypeListData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
          analysis_type: 'WAREHOUSE_PROJECT1',
          page: 1,
          limit: 1000,
        }

        hlhttp.get({
          url:'datav_source/team_type_analysis/_search',
          data: data,
          success(data){
            if(data.data.length == 0) return
            data.data.forEach(el => {
              el['isEdit'] = 'N'
              el['isAdd'] = 'N'
            })

            self.company.smallTypeListData = JSON.parse(JSON.stringify(data.data))
            self.company.smallTypeEditData = JSON.parse(JSON.stringify(data.data))
          }
        })
      },
      // 获取团队类别分析列表
      getBigTypeListData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
          analysis_type: 'WAREHOUSE_PROJECT2',
          page: 1,
          limit: 1000,
        }

        hlhttp.get({
          url:'datav_source/team_type_analysis/_search',
          data: data,
          success(data){
            if(data.data.length == 0) return
            data.data.forEach(el => {
              el['isEdit'] = 'N'
              el['isAdd'] = 'N'
            })
            self.company.bigTypeListData = JSON.parse(JSON.stringify(data.data))
            self.company.bigTypeEditData = JSON.parse(JSON.stringify(data.data))
          }
        })
      },
      // 获取企业发展成果详情
      getCompanyDetailsData() {
        let self = this;
        let data = {
          source_type: 'CONFIG',
        }

        hlhttp.get({
          url:'datav_source/company_development_achievements',
          data: data,
          success(data){
            self.companyDetails.dvptAchievementsAmount1 = data.dvptAchievementsAmount1
            self.companyDetails.dvptAchievementsAmount2 = data.dvptAchievementsAmount2
            self.companyDetails.dvptAchievementsAmount3 = data.dvptAchievementsAmount3
          }
        })
      },
      changePlaceMesPageLimit(){
        this.getPlaceMesListData()
      },
      handlePlaceMesPage(num){
        this.getPlaceMesListData()
        this.getPlaceMesDetailsData()
      },
      changeAllOriginType(){
        this.isShowAllChange = true
      },
      closeAllChangePop(){
        this.isShowAllChange = false
      },
      confirmSelectAll(){
        let type = JSON.parse(JSON.stringify(this.selectedAllType))
        this.starProject.selectedStarProject = type
        this.placeMes.selectedPlaceMes = type
        this.investmentFinancing.selectedItem = type
        this.company.selectedItem = type
        this.companyDetails.selectedItem = type

        this.getStarProjectListData()
        this.getPlaceMesListData()
        this.getInvestmentDetailsData()
        this.getCompanyListData()
        this.getSmallTypeListData()
        this.getBigTypeListData()
        this.getCompanyDetailsData()

        this.isShowAllChange = false
      },
      asyncReallyData(){
        hlhttp.put({
          url:'datav_source/large_screen_data/synchronize_real_data',
          data: {},
          success(data){
            hl.toast('同步成功')
          }
        })
      },
      selectPlaceItem(item,i){
        if(item.isSelected == 'Y'){
          this.$set(this.placeMes.publicService[i],'isSelected','N')
        }else{
          this.$set(this.placeMes.publicService[i],'isSelected','Y')
        }
      },
      editStarProject(item,i){
        this.starProject.editData[i]['companyName'] = item.companyName
        this.starProject.editData[i]['teamMemberCount'] = item.teamMemberCount
        this.starProject.editData[i]['financingAmount'] = item.financingAmount

        this.$set(this.starProject.listData[i],'isEdit','Y')
      },
      confirmEditStarProject(item,i){
        this.$set(this.starProject.listData[i],'isEdit','N')

        this.$set(this.starProject.listData[i],'companyName', this.starProject.editData[i]['companyName'])
        this.$set(this.starProject.listData[i],'teamMemberCount', this.starProject.editData[i]['teamMemberCount'])
        this.$set(this.starProject.listData[i],'financingAmount', this.starProject.editData[i]['financingAmount'])
      },
      cancelEditStarProject(item,i){
        this.$set(this.starProject.listData[i],'isEdit','N')
      },
      editPlaceMes(item,i){
        this.placeMes.editData[i]['projectName'] = item.projectName
        this.placeMes.editData[i]['acreage'] = item.acreage

        this.$set(this.placeMes.listData[i],'isEdit','Y')
      },
      confirmEditPlaceMes(item,i){
        this.$set(this.placeMes.listData[i],'isEdit','N')

        this.$set(this.placeMes.listData[i],'projectName', this.placeMes.editData[i]['projectName'])
        this.$set(this.placeMes.listData[i],'acreage', this.placeMes.editData[i]['acreage'])
      },
      cancelEditPlaceMes(item,i){
        this.$set(this.placeMes.listData[i],'isEdit','N')
      },
      // 活动列表
      editActivityList(item,i){
        this.activity.editData[i]['title'] = item.title
        this.$set(this.activity.listData[i],'isEdit','Y')
      },
      deleteActivityList(item,i){
        this.activity.listData.splice(i,1)
        this.activity.editData.splice(i,1)
      },
      addActivityList(){
        if(this.isAddActivityList) return false

        let data = {'title':null,'isEdit':'Y','isAdd':'Y'}

        this.activity.editData.push({'title':null})
        this.activity.listData.push(data)
        this.isAddActivityList = true
      },
      confirmEditActivityList(item,i){
        if(!this.activity.listData[i]['title']){
          hl.toast('请填写活动标题')
          return false
        }

        this.$set(this.activity.listData[i],'isEdit','N')
        this.$set(this.activity.listData[i],'title', this.activity.editData[i]['title'])
      },
      cancelEditActivityList(item,i){
        this.$set(this.activity.listData[i],'isEdit','N')
      },
      confirmAddActivityList(item,i){
        if(!this.activity.editData[i]['title']){
          hl.toast('请填写活动标题')
          return false
        }

        this.$set(this.activity.listData[i],'isEdit','N')
        this.$set(this.activity.listData[i],'isAdd','N')
        this.$set(this.activity.listData[i],'title', this.activity.editData[i]['title'])
        this.isAddActivityList = false
      },
      cancelAddActivityList(item,i){
        this.activity.listData.splice(i,1)
        this.activity.editData.splice(i,1)
        this.isAddActivityList = false
      },
      // 入驻企业分析列表
      editIndustryList(item,i){

        this.company.industryEditData[i]['industry'] = item.industry
        this.company.industryEditData[i]['count'] = item.count
        this.company.industryEditData[i]['percent'] = item.percent

        this.$set(this.company.industryListData[i],'isEdit','Y')
      },
      deleteIndustryList(item,i){
        this.company.industryListData.splice(i,1)
        this.company.industryEditData.splice(i,1)
      },
      addIndustryList(){
        if(this.isAddActivityList) return false

        let data = {'industry':null, 'count': null, 'percent': null , 'isEdit':'Y','isAdd':'Y'}

        this.company.industryEditData.push({'industry':null, 'count': null, 'percent': null , 'isEdit':'Y','isAdd':'Y'})
        this.company.industryListData.push(data)
        this.isAddIndustryList = true
      },
      confirmEditIndustryList(item,i){
        this.$set(this.company.industryListData[i],'isEdit','N')
        this.$set(this.company.industryListData[i],'isAdd','N')
        this.$set(this.company.industryListData[i],'industry', this.company.industryEditData[i]['industry'])
        this.$set(this.company.industryListData[i],'count', this.company.industryEditData[i]['count'])
        this.$set(this.company.industryListData[i],'percent', this.company.industryEditData[i]['percent'])
      },
      cancelEditIndustryList(item,i){
        this.$set(this.company.industryListData[i],'isEdit','N')
      },
      confirmAddIndustryList(item,i){
        if(!this.company.industryEditData[i]['industry']){
          hl.toast('请填写入驻企业行业')
          return false
        }
        if(!this.company.industryEditData[i]['count']){
          hl.toast('请填写入驻企业数量')
          return false
        }
        if(!this.company.industryEditData[i]['percent']){
          hl.toast('请填写入驻企业比例')
          return false
        }

        this.$set(this.company.industryListData[i],'isEdit','N')
        this.$set(this.company.industryListData[i],'isAdd','N')
        this.$set(this.company.industryListData[i],'industry', this.company.industryEditData[i]['industry'])
        this.$set(this.company.industryListData[i],'count', this.company.industryEditData[i]['count'])
        this.$set(this.company.industryListData[i],'percent', this.company.industryEditData[i]['percent'])

        this.isAddIndustryList = false
      },
      cancelAddIndustryList(item,i){
        this.company.industryListData.splice(i,1)
        this.company.industryEditData.splice(i,1)
        this.isAddIndustryList = false
      },
      // 在仓项目10人以下
      editAddsmallTypeList(item,i){
        this.company.smallTypeEditData['teamType'] = item.teamType
        this.company.smallTypeEditData['teamCount'] = item.teamCount
        this.company.smallTypeEditData['teamPercent'] = item.teamPercent

        this.$set(this.company.smallTypeListData[i],'isEdit','Y')
      },
      deleteAddsmallTypeList(item,i){
        this.company.smallTypeListData.splice(i,1)
        this.company.smallTypeEditData.splice(i,1)
      },
      addSmallTypeList(){
        if(this.isAddsmallTypeList) return false

        let data = {'teamType':null, 'teamCount':null , 'teamPercent':null , 'isEdit':'Y','isAdd':'Y'}

        this.company.smallTypeEditData.push({ 'teamType':null , 'teamCount':null , 'teamPercent':null })
        this.company.smallTypeListData.push(data)
        this.isAddsmallTypeList = true
      },
      confirmEditsmallTypeList(item,i){
        this.$set(this.company.smallTypeListData[i],'isEdit','N')
        this.$set(this.company.smallTypeListData[i],'isAdd','N')

        this.$set(this.company.smallTypeListData[i],'teamType', this.company.smallTypeEditData[i]['teamType'])
        this.$set(this.company.smallTypeListData[i],'teamCount', this.company.smallTypeEditData[i]['teamCount'])
        this.$set(this.company.smallTypeListData[i],'teamPercent', this.company.smallTypeEditData[i]['teamPercent'])
      },
      cancelEditsmallTypeList(item,i){
        this.$set(this.company.smallTypeListData[i],'isEdit','N')
      },
      confirmAddsmallTypeList(item,i){
        if(!this.company.smallTypeEditData[i]['teamType']){
          hl.toast('请填写团队类别')
          return false
        }
        if(!this.company.smallTypeEditData[i]['teamCount']){
          hl.toast('请填写团队数量')
          return false
        }
        if(!this.company.smallTypeEditData[i]['teamPercent']){
          hl.toast('请填写团队比例')
          return false
        }

        this.$set(this.company.smallTypeListData[i],'isEdit','N')
        this.$set(this.company.smallTypeListData[i],'isAdd','N')

        this.$set(this.company.smallTypeListData[i],'teamType', this.company.smallTypeEditData[i]['teamType'])
        this.$set(this.company.smallTypeListData[i],'teamCount', this.company.smallTypeEditData[i]['teamCount'])
        this.$set(this.company.smallTypeListData[i],'teamPercent', this.company.smallTypeEditData[i]['teamPercent'])
        this.isAddsmallTypeList = false
      },
      cancelAddsmallTypeList(item,i){
        this.company.smallTypeListData.splice(i,1)
        this.company.smallTypeEditData.splice(i,1)
        this.isAddsmallTypeList = false
      },
      // 在仓项目10人以上
      editAddBigTypeList(item,i){
        this.company.bigTypeEditData[i]['teamType'] = item.teamType
        this.company.bigTypeEditData[i]['teamCount'] = item.teamCount
        this.company.bigTypeEditData[i]['teamPercent'] = item.teamPercent

        this.$set(this.company.bigTypeListData[i],'isEdit','Y')
      },
      deleteAddBigTypeList(item,i){
        this.company.bigTypeListData.splice(i,1)
        this.company.bigTypeEditData.splice(i,1)
      },
      addBigTypeList(){
        if(this.isAddbigTypeList) return false

        let data = {'teamType':null, 'teamCount':null, 'teamPercent':null, 'isEdit':'Y','isAdd':'Y' }

        this.company.bigTypeEditData.push({'teamType':null, 'teamCount':null, 'teamPercent':null, 'isEdit':'Y','isAdd':'Y' })
        this.company.bigTypeListData.push(data)
        this.isAddbigTypeList = true
      },
      confirmEditBigTypeList(item,i){
        this.$set(this.company.bigTypeListData[i],'isEdit','N')
        this.$set(this.company.bigTypeListData[i],'isAdd','N')

        this.$set(this.company.bigTypeListData[i],'teamType', this.company.bigTypeEditData[i]['teamType'])
        this.$set(this.company.bigTypeListData[i],'teamCount', this.company.bigTypeEditData[i]['teamCount'])
        this.$set(this.company.bigTypeListData[i],'teamPercent', this.company.bigTypeEditData[i]['teamPercent'])
      },
      cancelEditBigTypeList(item,i){
        this.$set(this.company.bigTypeListData[i],'isEdit','N')
      },
      confirmAddBigTypeList(item,i){
        if(!this.company.bigTypeEditData[i]['teamType']){
          hl.toast('请填写团队类别')
          return false
        }
        if(!this.company.bigTypeEditData[i]['teamCount']){
          hl.toast('请填写团队数量')
          return false
        }
        if(!this.company.bigTypeEditData[i]['teamPercent']){
          hl.toast('请填写团队比例')
          return false
        }

        this.$set(this.company.bigTypeListData[i],'isEdit','N')
        this.$set(this.company.bigTypeListData[i],'isAdd','N')
        this.$set(this.company.bigTypeListData[i],'teamType', this.company.bigTypeEditData[i]['teamType'])
        this.$set(this.company.bigTypeListData[i],'teamCount', this.company.bigTypeEditData[i]['teamCount'])
        this.$set(this.company.bigTypeListData[i],'teamPercent', this.company.bigTypeEditData[i]['teamPercent'])

        this.isAddbigTypeList = false
      },
      cancelAddBigTypeList(item,i){
        this.company.bigTypeListData.splice(i,1)
        this.company.bigTypeEditData.splice(i,1)
        this.isAddbigTypeList = false
      },
      aaaIpt(){
        if(Number(this.investmentFinancing.investmentFinancingAim1) < 0){
          this.investmentFinancing.investmentFinancingAim1 = 0
        }
      },
      bbbIpt(){
        if(Number(this.investmentFinancing.investmentFinancingAim2) < 0){
          this.investmentFinancing.investmentFinancingAim2 = 0
        }
      },
      cccIpt(){
        if(Number(this.investmentFinancing.investmentFinancingAim3) < 0){
          this.investmentFinancing.investmentFinancingAim3 = 0
        }
      },
      dddIpt(){
        if(Number(this.investmentFinancing.investmentFinancingAim4) < 0){
          this.investmentFinancing.investmentFinancingAim4 = 0
        }
      },
      eeeIpt(){
        if(Number(this.activityCenter.count1) < 0){
          this.activityCenter.count1 = 0
        }
      },
      fffIpt(){
        if(Number(this.activityCenter.count2) < 0){
          this.activityCenter.count2 = 0
        }
      },
      gggIpt(){
        if(Number(this.activityCenter.count3) < 0){
          this.activityCenter.count3 = 0
        }
      },
      hhhIpt(){
        if(Number(this.companyDetails.dvptAchievementsAmount1) < 0){
          this.companyDetails.dvptAchievementsAmount1 = 0
        }
      },
      iiiIpt(){
        if(Number(this.companyDetails.dvptAchievementsAmount2) < 0){
          this.companyDetails.dvptAchievementsAmount2 = 0
        }
      },
      jjjIpt(){
        if(Number(this.companyDetails.dvptAchievementsAmount3) < 0){
          this.companyDetails.dvptAchievementsAmount3 = 0
        }
      },
      saveScreen(){
        let project_show = []
        let space_count = {}
        let space_area_analysis = []
        let investment_financing_docking = {}
        let activity_count = {}
        let activity_info = []
        let company_industry_analysis = []
        let team_type_analysis1 = []
        let team_type_analysis2 = []
        let company_development_achievements = {}
        let public_service_codes = []

        this.starProject.listData.forEach(el => {
          project_show.push({'company_name':el.companyName || '#' , 'team_member_count': el.teamMemberCount || '#' , 'financing_amount': el.financingAmount || '#'})
        })

        this.placeMes.publicService.forEach(el => {
          if(el.isSelected == 'Y') public_service_codes.push(el.dictCode)
        })
        space_count = {
          'count': this.placeMes.count || '#',
          'total_acreage': this.placeMes.totalAcreage || '#',
          'public_service_codes': public_service_codes.length ? public_service_codes.join() : '#'
        }

        console.log(space_count);

        this.placeMes.listData.forEach(el => {
          space_area_analysis.push({'project_id':el.projectId || '#' , 'project_name': el.projectName || '#' , 'acreage': el.acreage || '#'})
        })
        investment_financing_docking = {
          'investment_financing_aim1': this.investmentFinancing.investmentFinancingAim1 || '#',
          'investment_financing_aim2': this.investmentFinancing.investmentFinancingAim2 || '#',
          'investment_financing_aim3': this.investmentFinancing.investmentFinancingAim3 || '#',
          'investment_financing_aim4': this.investmentFinancing.investmentFinancingAim4 || '#',
        }
        activity_count = {
          'activity_center_count1': this.activityCenter.count1 || '#',
          'activity_center_count2': this.activityCenter.count2 || '#',
          'activity_center_count3': this.activityCenter.count3 || '#',
        }

        this.activity.listData.forEach(el => {
          activity_info.push({ 'title':el.title || '#' })
        })

        this.company.industryListData.forEach(el => {
          company_industry_analysis.push({ 'industry':el.industry || '#' , 'count':el.count || '#' , 'percent':el.percent || '#'  })
        })
        this.company.smallTypeListData.forEach(el => {
          team_type_analysis1.push({ 'team_type':el.teamType || '#' , 'team_count':el.teamCount || '#' , 'team_percent':el.teamPercent || '#'  })
        })
        this.company.bigTypeListData.forEach(el => {
          team_type_analysis2.push({ 'team_type':el.teamType || '#' , 'team_count':el.teamCount || '#' , 'team_percent':el.teamPercent || '#'  })
        })
        company_development_achievements = {
          'dvpt_achievements_amount1': this.companyDetails.dvptAchievementsAmount1 || '#',
          'dvpt_achievements_amount2': this.companyDetails.dvptAchievementsAmount2 || '#',
          'dvpt_achievements_amount3': this.companyDetails.dvptAchievementsAmount3 || '#',
        }


        let data = {
          'datav_source_project_show': JSON.stringify(project_show),
          'datav_source_space_count': JSON.stringify(space_count),
          'datav_source_space_area_analysis': JSON.stringify(space_area_analysis),
          'datav_source_investment_financing_docking': JSON.stringify(investment_financing_docking),
          'datav_source_activity_count': JSON.stringify(activity_count),
          'datav_source_activity_info': JSON.stringify(activity_info),
          'datav_source_company_industry_analysis': JSON.stringify(company_industry_analysis),
          'datav_source_team_type_analysis1': JSON.stringify(team_type_analysis1),
          'datav_source_team_type_analysis2': JSON.stringify(team_type_analysis2),
          'datav_source_company_development_achievements': JSON.stringify(company_development_achievements),
        }

        hlhttp.put({
          url:'datav_source/large_screen_data',
          data: data,
          success(data){
            hl.toast('保存成功')
          }
        })
      }


    },
    mounted:function () {
      hlSelectUi(false,false)

      this.getStarProjectListData()
      this.getPlaceMesDetailsData()
      this.getPlaceMesListData()
      this.getInvestmentDetailsData()
      this.getCompanyListData()
      this.getSmallTypeListData()
      this.getBigTypeListData()
      this.getCompanyDetailsData()
      this.getActivityListData()
      this.getActivityCenterData()
    }
  })
}())
